import { defineConfig } from 'vite';
import { URL, fileURLToPath } from 'node:url';
import { setupVitePlugins } from './build/plugins/index';


export default defineConfig(() => {
    return {
        resolve: {
            alias: {
                '~': fileURLToPath(new URL('./', import.meta.url)),
                '@': fileURLToPath(new URL('./src', import.meta.url))
            }
        },
        plugins:setupVitePlugins()
    }
})